package com.example.demo.service.sso;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class UserInfo {
    private long id;
    private String name;
    private String realName;
    private String mobilePhone;
    private boolean enable;
    @JsonIgnore
    private String easyRbacToken;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    /**
     * Gets the value of easyRbacToken.
     *
     * @return the value of easyRbacToken
     */
    public String getEasyRbacToken() {
        return easyRbacToken;
    }

    /**
     * Sets the easyRbacToken.
     *
     * <p>You can use getEasyRbacToken() to get the value of easyRbacToken</p>
     *
     * @param easyRbacToken easyRbacToken
     */
    public void setEasyRbacToken(String easyRbacToken) {
        this.easyRbacToken = easyRbacToken;
    }
}
